

package org.smallbun.fast.manage.dict.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.smallbun.fast.manage.dict.entity.SysDictTypeEntity;
import org.smallbun.framework.base.BaseMapper;
import org.smallbun.framework.permission.annotation.DataScopeFilter;

/**
 *  系统字典类型 Mapper 接口
 * @author SanLi
 * Created by 2689170096@qq.com on 2018/10/2
 */
@Mapper
public interface SysDictTypeMapper extends BaseMapper<SysDictTypeEntity> {
	/**
	 * 分页查询，数据权限过滤
	 * @param page
	 * @param queryWrapper
	 * @return
	 */
	@Override
	@DataScopeFilter
	@SuppressWarnings("MybatisMapperMethodInspection")
	IPage<SysDictTypeEntity> selectPage(IPage<SysDictTypeEntity> page,
			@Param(Constants.WRAPPER) Wrapper<SysDictTypeEntity> queryWrapper);
}
